package com.ruoyi.bussiness.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 机构对象 sys_business_dept
 *
 * @author ruoyi
 * @date 2023-12-18
 */
public class SysBusinessDept extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 机构ID */
    private Long deptId;

    /** 机构名称 */
    @Excel(name = "机构名称")
    private String deptName;

    /** 机构描述 */
    @Excel(name = "机构描述")
    private String deptDesc;

    /** 机构图标 */
    @Excel(name = "机构图标")
    private String deptIcon;

    /** 展示顺序 */
    @Excel(name = "展示顺序")
    private Integer orderNum;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 是否置顶（0否 1是） */
    private String isTop;

    /** 是否置底（0否 1是） */
    private String isBottom;

    /**移动类型 1-上移 2-下移 **/
    private  String moveType;

    /**移动类型 1-置顶 2-置底 **/
    private String pinType;

    public String getMoveType() {
        return moveType;
    }

    public void setMoveType(String moveType) {
        this.moveType = moveType;
    }

    public String getPinType() {
        return pinType;
    }

    public void setPinType(String pinType) {
        this.pinType = pinType;
    }

    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }
    public void setDeptName(String deptName)
    {
        this.deptName = deptName;
    }

    public String getDeptName()
    {
        return deptName;
    }
    public void setDeptDesc(String deptDesc)
    {
        this.deptDesc = deptDesc;
    }

    public String getDeptDesc()
    {
        return deptDesc;
    }
    public void setDeptIcon(String deptIcon)
    {
        this.deptIcon = deptIcon;
    }

    public String getDeptIcon()
    {
        return deptIcon;
    }
    public void setOrderNum(Integer orderNum)
    {
        this.orderNum = orderNum;
    }

    public Integer getOrderNum()
    {
        return orderNum;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setIsTop(String isTop)
    {
        this.isTop = isTop;
    }

    public String getIsTop()
    {
        return isTop;
    }
    public void setIsBottom(String isBottom)
    {
        this.isBottom = isBottom;
    }

    public String getIsBottom()
    {
        return isBottom;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("deptId", getDeptId())
            .append("deptName", getDeptName())
            .append("deptDesc", getDeptDesc())
            .append("deptIcon", getDeptIcon())
            .append("orderNum", getOrderNum())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("isTop", getIsTop())
            .append("isBottom", getIsBottom())
            .toString();
    }
}
